// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './tnpc'
import router from './router'
import axios from 'axios'

Vue.config.productionTip = false;
Vue.use(axios);
Vue.prototype.$http=axios;

require.ensure(['vue-awesome/icons','vue-awesome/components/Icon'],(require)=>{
  require('vue-awesome/icons')

  var Icon = require('vue-awesome/components/Icon')
  Vue.component('icon',Icon)
  new Vue({
    el: '#app',
    router,
    template: '<App/>',
    components: { App }
  })
},'vue-awesome')
